﻿<?php

Class Company {

	private $cid;
	private $phone_no;
	private $email;
	private $type;
	private $location;
	private $create_date;
	private $active;
	private $category_id;
	private $logo;
	
	function __construct(){
	}
	
	function setCompany($result_set){
		$this->cid = $result_set["cid"];
		$this->phone_no = $result_set["phone_no"];
		$this->email = $result_set["email"];
		$this->type = $result_set["type"];
		$this->location = $result_set["location"];
		$this->create_date = $result_set["create_date"];
		$this->active = $result_set["active"];
		$this->category_id = $result_set["category_id"];
		$this->logo = $result_set["logo"];
	}

	function getCID(){
		return $this->cid;
	}

	function setCID($cid){
		$this->cid = $cid;
	}
	
	function getPhoneNo(){
		return $this->phone_no;
	}
	
	function setPhoneNo($phone_no){
		$this->phone_no = $phone_no;
	}

	function getEmail(){
		return $this->email;
	}
	
	function setEmail($email){
		$this->email = $email;
	}

	function getType(){
		return $this->type;
	}
	
	function setType($type){
		$this->type = $type;
	}

	function getLocation(){
		return $this->location;
	}
	
	function setLocation($location){
		$this->location = $location;
	}	
	
	function getCreateDate(){
		return $this->create_date;
	}
	
	function setCreateDate($create_date){
		$this->create_date = $create_date;
	}

	function getActive(){
		return $this->active;
	}
	
	function setActive($active){
		$this->active = $active;
	}	

	function getCategoryID(){
		return $this->category_id;
	}
	
	function setCategoryID($category_id){
		$this->category_id = $category_id;
	}
	
	function getLOGO(){
		return $this->logo;
	}
	
	function setLOGO($logo){
		$this->logo = $logo;
	}
	
}

?>